package com.sky.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Table;
import java.io.Serializable;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "用户信息表")
public class User implements Serializable {
    //用户id
    @Column(name = "用户id")
    private Long id;

    //用户姓名
    @Column(name = "用户姓名")
    private String name;

    //用户角色
    @Column(name = "用户角色")
    private Integer role;

    //账号
    @Column(name = "用户账号")
    private String username;

    //用户密码
    @Column(name = "用户密码")
    private String password;

    //用户公司名
    @Column(name = "用户公司名")
    private String companyName;

    //用户状态
    @Column(name = "用户状态")
    private String status;

    //用户电话号码
    @Column(name = "用户电话号码")
    private String phoneNumber;



}
